package yaner.hotel.manager.resource.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("t_dict_info")
public class Dict {
    @TableId
    private String id;
    private String dictCode;
    private String dictDesc;
    private String categoryCode;
    private String categoryDesc;
    private String sortNo;
    private String status;
    @DateTimeFormat(pattern = "yyyyMMdd HH:mm:ss")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyyMMdd HH:mm:ss")
    private Date updateTime;
}
